package com.cy.ppj.dao.mapper.statistics;

import com.cy.ppj.model.domian.statistics.StatisticsLoanAmount;
import com.cy.ppj.model.vo.admin.statistics.StatisticsOrderLoanCountVO;
import com.cy.ppj.model.vo.admin.statistics.StatisticsOrderLoanVO;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface StatisticsLoanAmountMapper extends BaseMapper<StatisticsLoanAmount> {

    void isnertStatisticsLoanAmount(@Param("createTime") Date createTime, @Param("startTime") Date startTime, @Param("endTime") Date endTime);

    StatisticsOrderLoanCountVO selectStatisticsOrderLoanCountVO(@Param("sevenDayStartTime") Date sevenDayStartTime, @Param("thirtyDayStartTime") Date thirtyDayStartTime, 
    		@Param("endTime") Date endTime);
    
    List<StatisticsOrderLoanVO> selectStatisticsOrderLoanVOs(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
}
